package com.bestcem.xm.survey.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName ds_survey_customdata
 */
@TableName(value = "ds_survey_customdata")
@Data
@EqualsAndHashCode(callSuper = true)
public class SurveyCustomData extends BaseEntity2 {
    /**
     *
     */
    @TableId(value = "id")
    private String id;

    /**
     * 自定义数据Meta ID
     */
    @TableField(value = "meta_id")
    private String metaId;

    /**
     * 索引字段
     */
    @TableField(value = "key1")
    private String key1;

    /**
     * 索引字段
     */
    @TableField(value = "key2")
    private String key2;

    /**
     * 数据状态
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 全部数据
     */
    @TableField(value = "data")
    private String data;

    /**
     * 版本号
     */
    @TableField(value = "version")
    private Integer version;
}